#ifndef FILTER2_H
#define FILTER2_H

#include <queue>
#include <Eigen/Core>
#include <Eigen/Geometry>


class MovingAverageFilter_quat {
public:
    MovingAverageFilter_quat(int window_size);

    Eigen::Quaterniond apply(const Eigen::Quaterniond& new_value);

private:
    int window_size_;
    std::queue<Eigen::Quaterniond> position_queue_;
};



#endif